﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">模块列表</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>
            	<li class="current"><a href="#">模块列表</a></li>

                                                 <li><a href="index.php?app=module&act=add"  target="mainframe">模块添加</a></li>
                                                 <li><a href="index.php?app=module&act=viewindex"  target="mainframe">主页管理</a></li>
			
			
			</ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">

    <table  class="data" >
        <thead>
	
	<th>ID</th>
	<th>模块名称</th>
	<th>模块APP名</th>	
	<th>排序</th>  
	<th>别名</th> 	  
	<th>操作</th>	
	
		
        </thead>
	    <tbody>
<?php foreach((array)$infos as $_key => $_value ) { ?>

<tr  >
	<td  align="center">
	{$_value.id}

	</td>
  
       
	<td  > {$_value.name}</td>

 	<td  > {$_value.appname}</td>       
 	<td><input type="text" maxlength="3" style="width: 40px; text-align: center;" value="{$_value.sort}" name="sort"  onchange="ato_url('index.php?app=module&act=lcsort&id={$_value.id}',this);">
</td>
  	<td  > {$_value.alias}</td> 
   
	<td>
    
                                                <a href="?app=module&act=modhtml&appid={$_value.id}" target="mainframe">模板静态化</a>/
	                                            <a href="?app=module&act=edit&id={$_value.id}" target="mainframe">修改</a>/
	                                            <a href="?app=module&act=del&id={$_value.id}" onClick="return confirm('确认删除此项？此操作无法恢复！');">删除</a>/
								                <a href="?app=module&act=filedlist&id={$_value.id}" target="mainframe">字段管理</a>/											
								                <a href="?app=module&act=viewlist&id={$_value.id}" target="mainframe">模板管理</a>/	
												<a href="?app=module&act=cagrylist&id={$_value.id}" target="mainframe">分类模板管理</a>
                                              
	                                       
	</td>
</tr>

<?php } ?>


	    </tbody>
    </table>
	

	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> 
		<span >模板静态化:是指将改模块的主页面静态化，然后保存在根目录/content/app名+appid号.html下。</span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->